package com.whatocean.service;

import com.whatocean.domain.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface AccountService {

    void addAccount(Account account);


    void delAccount(Integer id);


    void updateAccount(Account account);


    Account findById(Integer id);


    List<Account> findAll();


    void transMoney(String fromname,String forname,Double money);
}
